package com.pdsu.alumni.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Acerola
 * @since 2022-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_common_user")
@ApiModel(value = "CommonUser对象", description = "")
public class CommonUser implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId
    private int cuserId;

    @ApiModelProperty(value = "账号")
    private String cuserAccount;

    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String cuserName;

    @ApiModelProperty(value = "用户名")
    private String cuserUsername;

    @ApiModelProperty(value = "密码")
    private String cuserPassword;

    @Excel(name = "民族")
    @ApiModelProperty(value = "民族")
    private String cuserNation;

    @Excel(name = "性别")
    @ApiModelProperty(value = "性别")
    private String cuserSex;

    @Excel(name = "籍贯")
    @ApiModelProperty(value = "籍贯")
    private String cuserNativeplace;

    @Excel(name = "出生年月", format = "yyyy-MM")
    @ApiModelProperty(value = "出生年月")
    private String cuserBirthday;

    @Excel(name = "政治面貌")
    @ApiModelProperty(value = "政治面貌")
    private String cuserPolitical;

    @ApiModelProperty(value = "平顶山学院学号")
    private String cuserStdnum;

    @Excel(name = "在平院期间就读专业")
    @ApiModelProperty(value = "在平院期间就读专业")
    private String cuserPmajor;

    @Excel(name = "在平院期间所在院系")
    @ApiModelProperty(value = "在平院期间所在院系")
    private String cuserFaculty;

    @Excel(name = "在平院期间入学时间", format = "yyyy-MM")
    @ApiModelProperty(value = "在平院期间入学时间")
    @TableField("cuser_starttime")
    private String cuserStartTime;

    @Excel(name = "在平院期间离校时间", format = "yyyy-MM")
    @ApiModelProperty(value = "在平院期间离校时间")
    @TableField("cuser_endtime")
    private String cuserEndTime;

    @Excel(name = "现通讯地址")
    @ApiModelProperty(value = "现通讯地址")
    private String cuserAddress;

    @Excel(name = "最高学历")
    @ApiModelProperty(value = "最高学历")
    private String cuserEducation;

    @Excel(name = "最高学位")
    @ApiModelProperty(value = "最高学位")
    private String cuserDegree;

    @Excel(name = "现职务/职称")
    @ApiModelProperty(value = "现职务/职称")
    private String cuserOccupation;

    @Excel(name = "最高学历所学专业")
    @ApiModelProperty(value = "最高学历所学专业")
    private String cuserMajor;

    @Excel(name = "最高学历就读学校")
    @ApiModelProperty(value = "最高学历就读学校")
    private String cuserGraduate;

    @Excel(name = "邮箱")
    @ApiModelProperty(value = "邮箱")
    private String cuserEmail;

    @Excel(name = "专长及成就")
    @ApiModelProperty(value = "专长及成就")
    private String cuserSkill;

    @Excel(name = "现工作单位")
    @ApiModelProperty(value = "现工作单位")
    private String cuserWorkunit;

    @Excel(name = "所涉领域")
    @ApiModelProperty(value = "所涉领域")
    private String cuserDomain;

    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String cuserPhone;

    @ApiModelProperty(value = "身份证号")
    private String cuserCard;

    @ApiModelProperty(value = "头像地址")
    private String cuserImg;

    @ApiModelProperty(value = "个人照片")
    private String cuserPhoto;

    @ApiModelProperty(value = "优秀校友,0否1是")
    private Integer cuserNiceuser;

    @ApiModelProperty(value = "0代表已认证，1代表未注册，2代表待审核，3代表已删除")
    private Integer state;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除,1启用,0删除")
    @TableLogic
    private Integer deleted;


}
